attempts to fix broken form action URLs