fixes #2
workaround http://jira.codehaus.org/browse/MRELEASE-812