format spaces