fixed warning about raw type