Add some error prevention actions