fixed redefined warning