removes state field