solve Minimum Window Substring
minor bug fix