fixed error overflow