fix #71

@derekrazo can you confirm this fixes your reported bug in #71? cheers.