fixed issue with linux/windows compat