validation cleanup is incorrect
cleanups, fix empty optdeps list