spliced the returned buildIds array