fixed idiotic mistakes