small fix + loading player in func