Error handle end of dream