fixed error in linux environment