Fixed some bugs in nova