fix res deps is null