format fix
add in a cache for paths