fixed constructor references in some methods
Merge pull request #2 from lyxsus/master

fixed constructor references in some methods