fix compile error due to Category is now an Object