[SVACE] Fix out of range exception error