changed limit and fixed item bug in get_log