add coercions for long