added fix for reinvent