fix accounts controller