Fixed more bugs in putupforlending workflow