fixed file and message model problem and bundle config errors