Fixed static form bugs.