spec requires by error stack hack