fix #1 and bug with defaults method

Try it