fixed import bug with rst compiles