TODO cleanup
Errors handling while modules loading