fix for entrypoint