Optimization and invalid command message