Fixing a bug that prevented default behavior