finish to refactoring error printing + some refactoring in executer