fixing widget selector