fix return on getElasticaType()