fixed issue with custom nodes