fixed MAXCUSTOMERTHREADS