fix 2 onlyif condition