Fix bug - provide parameters not correctly