use sraper navigate function
fix memory issues