Fixed getting value from web sql