scaling fixed but some mallock issue going on