fixed ajax call and adjusted form input length