rebuild legacy