[updating application] fixing bug