fixes bug with age