adapt for NIFTYCloud