push state temp fix

TODO: fix rest when directly accessing link