Some bugs fixed for ao-render.rb (ao cannot execute still)