remove useless statics