fixed time alignment (needs testing)