removing stray charcter