bugfix for parent require