preware only runs if prefix matches