fix #7 incorrect handling of /w/ and /b/ URL parameters

remove code that duplicates repeat parameter