fix the convert