[form] remove unused interface
[form] fix getMessages