work with static partials. Closes #1206