fixed bug in getCheckins