made errors prettier