fix fotmat, remove some unnecessary comments.