fix a bug that was preventing the render. Fixes #14