fixes to utility methods