getSource returns object instead of url. fixes #1