Fixed age checking

updated to version 6