added a message if invalid command queue occurs