add return parent function in abstractwindow
compile pass