Fix typo

Fixing typo on line 460: sub() -> subs()