Minor security updates

Small updates for security