fixed parsing error in error messages
better frequency error message, error to avoid 'millenium bug'