I had this problem because of seo url's. I changed it to false and everything works now.