fixed wrong startup behavior on load