get rid of generic warnings