fixes 2 minor deploymet-related issues