add extraParams check