removes comments in specs