Removed problem with saving duplicate blocks.