make get function print <nil> instead of nothing when result is nil