corrected multiples bugs