handle impossible solution