fix properties injection