Add unsafe flag for release mode