Fixed Profile being null instead of 0