set default value for published attribute