found the solution
add this
# Redirect /index.php to / - will also clear /index.php/something to /something
RewriteCond %{THE_REQUEST} ^[A-Z]+ /index.php(/[^ ]*)? HTTP/
RewriteRule ^index.php(/(.*))?$ /$2 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]+ /index.php(/[^ ]*)? HTTP/
RewriteRule ^index.php(/(.*))?$ /$2 [R=301,L]
in the htacces file