fixed timezone offset logic & removed debugging