fixed form bug