fixed mysql/attributes