Removing inline style, fixing upload image bug