fix path issue
allow splitted message pattern in properties file
bugfix: the snippet ref would be reset at every time when the snippet is executed to make sure the ref is unique