fp/add: Corrected runtime errors after second pass