fixed overflow case