fix console entry point