fix error
0.6.0.7
preliminary implementation for #9 as a prepass