fix compiler warning, resharper is not so clever always :)