fixes small version in photo upload