Fixed keyboard issues in Automatic