fixed some bugs not tested because I failed to update dependencies in Story.ni (#194)