change die to print to stderr