this fixes the problem