removing hidden characters