removing borders and correction resolution