modified checking for demo position on init