Fixed that some int function did not return value