some work for trailers window
some fixes