added errors on deprecated parameters