minor bug fixed (properties injected correctly)