fix up some bitchin .time of undefined error