small improvements to core utilities