use called class rather than static... I think this is a php bug.