Fixes space type and other edit fields.