remove installer module logic, add error handling