Fix some errors, get href with params