delete windown.inherit for debug