fixing wrong parameter in get() method