fixing wrong timeline being pushed to array