Fixing out of range ex