clean functional space