Fixed empty vm list bug and added more log