fixed WKB warning