Fixed minor errors in production.