Fixing passage Id 1 array out of bounds issue