Fixed bug of defaults not being added