fix: minor bug fixes
refactor: change spawn to exec