fixing activity controller