Fix input getSource method