fix embed padding problem