fixing bugs with category actions