fix dimension percentage