move byterwcloser into misc