modified bug fix for hopperminecarts