error handling sp8