fix events and users photos issues