fixes for photo