use `[:2]` instead of `[:-1]`