fixed spend bug
fix