fixme change mysql call