magic returnvalue on error