Fix styling of middleware for FF