changed validator type for new structure
fixed some bug in smart content and implemented show only for published nodes