this fixes switching from multioutput to regression