bug range fixed