adjustment for mysql