fix genplan window