format the spaces