handling white spaces