classcast on different columns