fix widget creation command + insight cleanup (__DIR__ and __FILE__ uses)