fixed adding office functionality