Fix css generator for error page