Fixed bug and revise nova setup.