Fixed another entrypoint bug