convert imported values to proper ones
add clansi to remove some unnecessary ansi handling