removed application type check