some security fixes.