Fixing ajax input