fixed errors in specs