change resolve order for statics