Fixes setting of input source