Fixes the accountdetails page