fixed linux bug