Fixed issue of firefox behaving differently for erroneous input

Removed set traces