fixed bug where small numbers breoke WCPS gen