minor fix to console