fixed coding standards, added deleted field for subject