remove unusable code