fixed console build