added proper parent callback to behavior