fixed bug with running console