resolve Never Use warnings