Removed unnecessary code. Fixed ageGate.