exit on param failure