Fixes form bug