fix type permit