fix account ctrl functions