fixing cancan error