fixed criticle bug on binding parameters