Remove print -1 bug