post-process to remove extra nodes layer