Change longValue() call to get()