remove unused function warning