fix choose main photo