fix type in drop index