Fixed infered app name bug.