Fixed method error
Merge pull request #659 from sheebans/master

Fixed method error