clean up empty spaces