fixed uncompatible attribute name for mysql