bug fixes in paste after having selected first box