[fix] Passing res is unnecesary and confusing