Fixed errors to be empty properly.