replace use of wildcard ** since it is not in <R16 Erlang