Fixed errors output