fix activity controller due to error in last commit