fixing the problem of white space