remove all unnecessary stuff