Fix command restrict