fixed uses Windows
fixed two bugs, thx to GrieferAtWork
fixed two bugs
small changes. but don't works :(