Bug correction
Add spat.fixnan
A test version, without bpatcher