fixed two small bugs that can cause a crash
bump to 0.1.1