fixed call without hashref
added creates check