fixed the potential