fixed warning related to static instance in strict standard modes