Fixed some bugs in fast_helper.