debugged age validation