making pulling work with 3 digits, minor fix