guards case when picture hasn't yet been uploaded