fixes photo upload button