Fix cache and use ' to avoid perl interpolation