fixed some things in the photoupload view