fix whitespace
copy method cache into new singleton class for regular object