removing empty class tag