fix merge loss
rename width and height
remove console.log's