nullify rootTemplate before callback
fix string names for render