check return type for conversion methods