Fix method error stack