fixed activity diagram issue