add events and fix link in forms