fixed label -1 error