small closed state fix
reg char