Fixes error with default assignment