Fixed wrong ASP check