use navigation controller & fix crashes