change getLatestactivity to getLatestActivity