Fixed a bug in service dot-notation injection