bugfix: optimized .sp pvs into .hr and .tb