version bump to 0.3.9, sql precedence fix