correcting issue in convert