Fixed bug getwtime