opencv relative bug fixed