syntax fixes
mod/os: removed unused functions