[console] applied advices from github