Fix invalid specs