fix bug of detail utils