Fixed bug preventing from guarding