fixing security concerns