fixed some missing static declarations