convert fiberid to int first