to fix bug regarding JavaBean specification