fixed editing of availabilities