fixed model stupid typo bugs. Thanks to jason