fixing security issue