minor cleanup in get method