fixed bug with running app on local machine