set custom errors to off to see error messages