Fixing some problems with framework bundle