slavery defenders wanted states rights to keep the federal government from freeing slaves , but opposed states rights when it came to the rights of fugitive slaves and of states that wanted to ban slavery .