Fix converting method