correct the spaces