revert prettyphoto error 500