Bug fix upload image