fixing errors from bulk conversion