fix runtime stalling
can now compile code but only once