fix yiic for a working console