Fixed big bug in saving a guide