delete UI gameplayfunction