Trim PBA code