trying to fix the problem that the pyramid doesn't appear in the
beginning