remove the last ampersand and the question mark if there are no GET parameters
update dependencies
Styles fixes