added a catch if you try to wrap twice