Fixed bug: currentTime is a function