javadoc and fail message improved