some fixes

bullet fix
for each function fix