adjustments for mysql