photo load bug fixed