fixes #7 - format selector redirects to same page