fix to #17 (you forgot to do parseInt(value)