handling invalid params page