Fix a problem that small_light_getparam_mode doesn't work

small_light_getparam_mode doesn't handle GET parameters correctly.