fix error, removed main method