fixed awful mistakes