Clear input value when changed url