typo
render error in PRE
class cast fix
logs off
close appender safely