removing non-ajax error