fix annotations and added as maven config param