fixed checks for special app name