removing of additional spaces