Removed duplicate intval
Close #9