remove unused styles, revise imgupload effect