Fixed a bug that prevented the metaboxes to correctly store the data