range violation fixed