Fixed url reversal issue