fix conditional partial