fix code

fixParameters method can fetch right component object for build now