Fixed error related to publishing node