fix bug in cubism. see https://github.com/square/cubism/pull/75