fix int/float problem with check laser angle