renderBefore fix