fixed errors in creating guardians