fix master photo null