Fixed linux bug