add strip prefix
message directive does not replace
add unit test for message directive