Code cleanup
Cleanup & panic syscall