catch type and attribute errors in site and age initialization