fix parsing width & height