Fixing call to setParameter