fixed has children in helper