set maximumAge and default on get error