fixed refactored id names for ajax call