deleting useless whitespaces