added unsafe flag in Release build