main page form fix