fixed an offset bug