fixes #1 also the useless constructor is removed