bug fixed for maven build