fixed array out of bound exception on /kup