fix options priority
add src prefix to patterns