Improved the number assert