fix first run frame
fix keyboard on first run