db: maked query_one only catch IndexError