player fix for end, updated time.val