print flags and css fix