remove check for optiotree, didnt work