Fix entrypoint var when nothing is defined in view but in data