How to remove duplicated background?