fixed a bug of a:secure