Fiw view bug, improve sample app