tried initializing categories database, not working