fixing the /add picture upload bug