fixed bug in get()