Fixed nullpointer in get