fixed bare-np bug