Fixed error with default initialization