clean specs and parsit class