improved error handeling to only allow age without decimals