fixed widget declaration