tested and fixed errors for showing act types