fixing bug for empty age