fix the active nonactive