remove unnecessary list statement