separate demconnection and demheightfield.