fixed the convert back problem