[WIP] fixed bugs on interface and form validation