fixed offset bug in uniform model