fixed @Resource inject for static property