fix redefined error