removed a little bug on pyramid