add errorHandler as last middleware to get it working