changed % to px