remove unused function to avoid compile warning