Bug fix, type was wrong