remove declaration code