custom geometry does not work