added pretty photo fix