fixed some synthesize errors