fix on unoptimized functions + end of file bug :/