type erasure warnings fixed