Fix wrongly record create