Fixed bug when responseJSON data is null