valdring errors fix.