Make it work on corn

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>