fixed activity issue