fix endpoint back to production, whitespace cleanup