fixed sizing issue for the editor