fix medium space