Fixed bug with ugly cacge instance at static methods