fix error on wrong place