errors resolved for security