fix lua framework