bug fixes in proc, shed