fixed bug on photo uploads in user and quest models