fixed float issue with tasks