correction of path in erb statements