fixed autocrafter ignoring metadata and a small typo