many changes for demo2 localhost 
important solve, query after procedure call.