Fixed user variable issue when converting