fix 500 on deploying remote apps