$res is empty, don't know why, but this will fix LS errors