add pattern decorator for command select, correct SelectCommand