Fix console log order