fix route refresh implementation