Fixed task functionality.