Fix #466 if_lua problem