fixed #5 os path join crash