Fix console command prevention