Fixing errors in linux