fix for ASP problems #178