Few fixes

Got rid of trace and fixed a bad method usage.