fix resharper warning