apparently the function doesn't exist sometimes