fix specs, make sure plans exist