fix is_permanent attribute