spacing and cleanup