it type is not set try it returns a 0 instead of not doing it