change: fixed crash by query database