bug with windows fixed