fixed issure with voids and checked exceptions