guard conversion
fixes #260