Fixed typo in getSource method