Fix paitintg form