changed wrong variable name in play event