fixed typo in Activity class