fixed build issues caused by versions