Fix for max int