#448 fixed nesting issue with deploy