fixing more windows fucntionality