Prevent errors when deploying