fixing time, unable time checking for MAC