fix calling delegate
update spec