error if not enough params are passed
fatal error rather than just error