Fixes errors generated by the new widgets design