fixed issue with converting statement lists