fixed socket permission, fixed faulty spec