.
Fixes SegFault on creating a new app

FIX #5