Fixed error with parameters not being seen