fixed error signal to float from double