fix to reduce the size of trema apps