Fixed a few bugs in interface, fixed setting NA