move text clears to after renders