Fix lua indentation for functions