avoid autolayout error on startup