correcting monitor index to be 16 for synchronized keyword