fixed synthesize errors