more fix for mysql