fixed bug with server-side and not running the application