Make module more robust when starting setup