Fixed temporary variable assignment