Almost a third of SMEs invest to make businesses safe