reworked & optimize vm settings