fix demoscene code