stupid bug in entry point