avoid rawtypes warnings