fix with photo loading