fixed some error in linux class