fix front behaviour on photo change