fixed the float int problem with the triggers