fixed loading issue. conflicting ajax requests