Fixes a problem with Express controller.