bugfix: changed put function to store copy of Prefix slice