fixed bug where spaces in an app name made it crash