quick fix to cpath