standardizes error messages by removing period on scope and redirect errors