fix to console