Fixed malfunctioning widget