fixed published date saving issue