fixing bug (not finished)

change match_prefix to match also coding from moduls not only moduls