Fixed playlist outofbound error