minor fix in panel conver