Controller Fix for deployment