adapt for EOS

Change-Id: I8137bc220eed155b4d4950dd852146d61f4812db