fixed: to method allowed overindex unexpectedly