got rid of query strings when clicking buttons