fixed moduledatabase statement ordering