adding prepare namespace
removing window from target