fix strict warning on static calls