fixing generic sigs to get rid of compiler warnings