fix functions import