more troubleshooting on ajax method