fix ClassCastException on maven projects (Issue #1)
set version 1.2.1