fixed imported functions.