fixed problem with buffer loading window content