Correcting the directory caps.