fix translate layout