fixing payments controller