fixed regression of 0 as integer