fixed broken 0.0.6, upgraded to 0.0.7

I forgot to commit code at version 0.0.6. So here is the fix.