fix clock phase