fix widget to Widget

fatal error on Linux