Pretty sure you are mistaken. Look up public policy violations. Typically you can't negotiate away rights