fix category bug in buildscript