fix char and enum in containers bug