Console API - fix cd command and error output