friendly urls
fix lifecycle