add stricter config for user class param