fixing ajax submit