fixed static cache call for php 5.3