fix is undefined