fixed fail.to