clean type & stop title from disappearing