Fix error with new and old style.