fixes option type for upload avatar/cover