corrected case for ajax call