range pop bug fixed