bug where it wouldn't run in production