fixing the problem