avoid uninitialized value in playlist get position