fix #309 split() is deprecated and replaced by explode()