a weird bug with png file uploads