Fix potential security problem.