outof bounds fixed