modified two queries for single in l2 cat.inc