fix convert and promote