fixed a bug with monolith package