fix bug with property injection