fix -select control
fix -request permit and save permit
fix -cut pre and last whitespace