bootstrap and directive for check