fix app name parsing