fixed check for max age to detect non passed thus allow 0