fixing mugshot for sessions