made ui and logic linux compatible