Fix last console command not working