Removed unreachable code
Fix printf call