fixing context errors in player