check query to hook album gallery