add security flag