improve sanity of specs