new option added; error class when remaining characters get less then 0