fork credits
fixed category bug and improved category tests