fix tab and console