Fixes problem for deployment