fix for unittest
remove unused variable