bugs when someone sends invalid values