apply task bug