fix build_maglev_in_stone finalizing and return status