more custom field work done and big fix for the dashboard stats