minor code refactor for adapt open source contrib status