Fix seconds to milliseconds!! + logging