fix problem of multiple 254 (not supposed to happen)